<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@ page contentType="text/html;charset=windows-1252"%>
<%@ taglib uri="/webwork" prefix="ww"%>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>
    <title>ShoppingCart: Available Reports</title>
  </head>
	<body>
        
<%@ include file="/admin-header.html" %>	
	<ww:if test="hasActionErrors()">
	<ul>
	<ww:iterator value="actionErrors">
		<li style="color: red;"><ww:property /></li>
	</ww:iterator>
	</ul>
        </ww:if>
        <table border="1" cellpadding="5">
        <form name="ListReportsForm" action="SalesByItem.action">
        <tr>
        <th>Report Name</th>
        <th>Available Formats </th>
        </tr>
        <tr><td>Sales by item: 
        <ww:select label="'Items'"
          name="selectedItem"
          list="items"
          listKey="id"
          listValue="name"
          required="true"
        /></td>
        <td><ww:a href="#" onclick="ListReportsForm.submit()">html</ww:a></tr>
        </form>
        <tr>
        <td>Sales distribution for all items</td>
        <td><a href="SalesDistribution.action">html</a></td>
        </tr>
        </table>
        <ww:a href="LogOut.action">Logout</ww:a>
    </body>
</html>